#{extends 'main.html' /}
#{set title:'Home' /}

<div id="login">
    
    <!-- Welcome Message --> 

    #{form @Adminlogin(), id:'formLogin'}
        <p class="field">
            <label>Admin email:</label>
            <input type="text" name="adminmail" size="19" value="${flash.adminmail}" />
        </p>
        <p class="field">
            <label>Password:</label>
            <input type="text" name="password" size="19"/>
        </p>   
        <p class="buttons">
            <input type="submit" value="Admin Login" />
        </p> 
    #{/form}

    <p>
        <a href="@{index()}">User Login</a>
    </p>

</div>

<script type="text/javascript" charset="${_response_encoding}">
    sessvars.$.clearMem()
</script>
